package com.bac.javabeans;

/**
 * Project Name:bac-core
 * File Name:GasolineJournalInfo.java
 * Package Name:com.bac.core.bean
 * Date:2015年1月14日下午1:38:50
 * Copyright (c) 2015 Congine Information Technology Corporation, All rights reserved.
 * The Software is owned by Congine and is protected by copyright laws and other national laws.
 * You agree that you have no right, title or interest in the Software.
 * This code cannot simply be copied and put under another distribution license.
 * Copyright remains Congine's, and as such any Copyright notices in the code are not to be removed.
 *
 */

import java.math.BigDecimal;

/**
 * ClassName: GasolineJournalInfo <br>
 * 惠加油套餐返还流水 <br>
 * 创建日期: 2015年1月14日 下午1:38:50 <br>
 *
 * @author Scott
 * @since 1.0
 */
public class GasolineJournalInfo {
	
	// 应返还本金
	private BigDecimal capital = BigDecimal.ZERO;
	// 应返还收益
	private BigDecimal preferential = BigDecimal.ZERO;
	private String date;
	
	private BigDecimal returnedCapital = BigDecimal.ZERO;
	private BigDecimal returnedPreferential = BigDecimal.ZERO;

	public GasolineJournalInfo() {
	}

	public GasolineJournalInfo(BigDecimal returnedCapital, BigDecimal returnedPreferential,
			String date) {
		this.returnedCapital = returnedCapital;
		this.returnedPreferential = returnedPreferential;
		this.date = date;
	}

	/**
	 * capital. 当月应返还本金数
	 *
	 * @return the capital
	 * @since 1.0
	 */
	public BigDecimal getCapital() {
		return capital;
	}

	public void setCapital(BigDecimal capital) {
		this.capital = capital;
	}

	/**
	 * preferential. 当月应返还优惠数
	 *
	 * @return the preferential
	 * @since 1.0
	 */
	public BigDecimal getPreferential() {
		return preferential;
	}

	public void setPreferential(BigDecimal preferential) {
		this.preferential = preferential;
	}

	/**
	 * date.月份
	 *
	 * @return the date
	 * @since 1.0
	 */
	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	/**
	 * returnedCapital. 当月已返还本金
	 *
	 * @return the returnedCapital
	 * @since 1.0
	 */
	public BigDecimal getReturnedCapital() {
		return returnedCapital;
	}

	public void setReturnedCapital(BigDecimal returnedCapital) {
		this.returnedCapital = returnedCapital;
	}

	/**
	 * returnedPreferential. 当月已返还优惠
	 *
	 * @return the returnedPreferential
	 * @since 1.0
	 */
	public BigDecimal getReturnedPreferential() {
		return returnedPreferential;
	}

	public void setReturnedPreferential(BigDecimal returnedPreferential) {
		this.returnedPreferential = returnedPreferential;
	}

}
